package com.startup.yellocar.service;
import java.util.*;
import org.springframework.transaction.annotation.Transactional;
import com.startup.yellocar.dto.PreferenceDTO;
public interface PreferenceService {

	@Transactional
	public void insert(PreferenceDTO preferenceDTO);

	@Transactional
	public void update(PreferenceDTO preferenceDTO);

	@Transactional
	public PreferenceDTO get(int id); 

	@Transactional
	public List<PreferenceDTO> getAll(); 

	@Transactional
	public void delete(PreferenceDTO preferenceDTO);

}
